package com.shop.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Booktype entity. @author MyEclipse Persistence Tools
 */

public class Booktype implements java.io.Serializable
{

	// Fields

	private String idBooktype;
	private Booktype booktype;
	private String booktypeno;
	private String booktypename;
	private Set booktypes = new HashSet(0);
	private Set books = new HashSet(0);

	// Constructors

	/** default constructor */
	public Booktype()
	{
	}

	/** minimal constructor */
	public Booktype(String idBooktype, String booktypeno, String booktypename)
	{
		this.idBooktype = idBooktype;
		this.booktypeno = booktypeno;
		this.booktypename = booktypename;
	}

	/** full constructor */
	public Booktype(String idBooktype, Booktype booktype, String booktypeno,
			String booktypename, Set booktypes, Set books)
	{
		this.idBooktype = idBooktype;
		this.booktype = booktype;
		this.booktypeno = booktypeno;
		this.booktypename = booktypename;
		this.booktypes = booktypes;
		this.books = books;
	}

	// Property accessors

	public String getIdBooktype()
	{
		return this.idBooktype;
	}

	public void setIdBooktype(String idBooktype)
	{
		this.idBooktype = idBooktype;
	}

	public Booktype getBooktype()
	{
		return this.booktype;
	}

	public void setBooktype(Booktype booktype)
	{
		this.booktype = booktype;
	}

	public String getBooktypeno()
	{
		return this.booktypeno;
	}

	public void setBooktypeno(String booktypeno)
	{
		this.booktypeno = booktypeno;
	}

	public String getBooktypename()
	{
		return this.booktypename;
	}

	public void setBooktypename(String booktypename)
	{
		this.booktypename = booktypename;
	}

	public Set getBooktypes()
	{
		return this.booktypes;
	}

	public void setBooktypes(Set booktypes)
	{
		this.booktypes = booktypes;
	}

	public Set getBooks()
	{
		return this.books;
	}

	public void setBooks(Set books)
	{
		this.books = books;
	}

}